package com.banksoft.cps.dao;

import com.banksoft.cps.bean.Police;
import com.banksoft.cps.bean.query.PoliceQuery;
import com.banksoft.cps.bean.query.PractitionerQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/11/6.
 */
@Repository
public interface PoliceDao {

    List<Police> list(PoliceQuery query);

    Police find(String id);

    long count(PoliceQuery query);

    void insert(Police bean);

    void update(Police bean);

    void delete(String[] id);

    Police findByAccount(String account);

}
